    <extend name="base"/>
    <block name="main">
		<ul class="nav nav-pills nav-justified nav-tab">
		  <li><a href="{:U('Admin/Index/setting?op=qiniu')}">第三方</a></li>
		  <li><a href="{:U('Admin/Index/setting?op=vip')}">vip</a></li>
		  <li><a href="{:U('Admin/Index/setting?op=notice')}">公告</a></li>
		  <li class="active"><a href="{:U('Admin/Index/setting?op=lunbo')}">轮播</a></li>
		 <li><a href="{:U('Admin/Index/setting?op=ad')}">广告</a></li> 
		</ul>
  <form action="" method="post"> 
   <div class="panel panel-default"> 
    <div class="panel-body table-responsive"> 
     <table class="table table-hover"> 
      <thead class="navbar-inner"> 
       <tr> 
        <th style="width:30px;">ID</th> 
        <th style="width:80px">显示顺序</th> 
        <th>标题</th> 
        <th>链接</th> 
        <th>状态</th> 
        <th>操作</th> 
       </tr> 
      </thead> 
      <tbody> 
      <volist name="lunbolist" id="lunboitem">
       <tr> 
        <td>{$lunboitem.id}</td> 
        <td> <input type="text" class="form-control" name="displayorder[2]" value="{$lunboitem.lunboorder}" /> </td> 
        <td>{$lunboitem.title}</td> 
        <td>{$lunboitem.clickurl}</td> 
        <td> <if condition="$lunboitem.status eq 1"><span class="label label-success">显示</span><else /><span class="label label-default">禁用</span></if></td> 
        <td style="text-align:center;"> <a href="{:U('Admin/Index/setting?op=lunbodetail')}&id={$lunboitem.id}" class="btn btn-default btn-sm" title="修改"><i class="glyphicon glyphicon-cog"></i></a> <a href="{:U('Admin/Index/setting?op=lunbodelete')}&id={$lunboitem.id}" class="btn btn-default btn-sm" onclick="return confirm('确认删除此幻灯片?')" title="删除"><i class="glyphicon glyphicon-remove"></i></a> </td> 
       </tr> 
       </volist>
        <td colspan="6" style="text-align:left;"> <a class="btn btn-default" href="{:U('Admin/Index/setting?op=lunboadd')}"><i class="glyphicon glyphicon-plus"></i> 添加幻灯片</a> <input type="hidden" name="token" value="bd06da03" />  </td> 
       </tr> 

      </tbody> 
     </table> 
    </div> 
   </div> 
  </form>
    </block>